package com.xgimi.open.skill.datamanager.biz.service;

import com.xgimi.open.skill.datamanager.domain.entity.SkillVersionDO;
import com.xgimi.open.skill.datamanager.service.request.SkillVersionReqDTO;
import com.xgimi.open.skill.datamanager.service.response.SkillPublishRespDTO;
import com.xgimi.open.skill.datamanager.service.response.SkillVersionRespDTO;
import com.xgimi.open.skill.datamanager.service.response.page.PageResult;


/**
 * @author coderzpw.zhang
 * @version 1.0
 * @description 描述
 * @date 2023/2/8 16:13
 */
public interface SkillVersionBizService {
    public SkillVersionDO checkSkillVersion(Long skillVid);

    SkillPublishRespDTO publishSkillVersion(SkillVersionReqDTO skillVersionReqDTO);

    PageResult<SkillVersionRespDTO> publishedList(SkillVersionReqDTO skillVersionReqDTO);

    Boolean deleteSkillVersion(SkillVersionReqDTO skillVersionReqDTO);

    SkillVersionRespDTO queryById(SkillVersionReqDTO skillVersionReqDTO);

    SkillVersionRespDTO getTestSkillVersion(Long skillId);

    SkillVersionRespDTO getPublishedMaxVersion(Long skillId);

    SkillVersionRespDTO getTestSkillVersion(String skillBusinessId);

    SkillVersionRespDTO getPublishedMaxVersion(String skillBusinessId);

//    Boolean skillTrainOnTest(SkillVersionReqDTO skillVersionReqDTO);
}
